package com.ztman.service.work.dto;

import com.baomidou.mybatisplus.annotation.TableName;
import com.ztman.basic.base.entity.Entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.Range;
import lombok.Data;
import lombok.Builder;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 实体类
 *
 * </p>
 *
 * @author wsd
 * @since 2021-08-23
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = false)
@Builder
@ApiModel(value = "TaskHistorySaveDTO", description = "")
public class TaskHistorySaveDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "")
    private Long task;
    @ApiModelProperty(value = "")
    @Length(max = 256, message = "长度不能超过256")
    private String name;
    @ApiModelProperty(value = "")
    private Integer taskType;
    @ApiModelProperty(value = "")
    @Length(max = 128, message = "长度不能超过128")
    private String executionTime;
    @ApiModelProperty(value = "")
    private String result;
    /**
     * 启用状态
     */
    @ApiModelProperty(value = "启用状态")
    private Boolean state;

    /**
     * 删除状态
     */
    @ApiModelProperty(value = "删除状态")
    private Boolean delFlag;
}
